<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%response.setDateHeader("Expires", -1);
%>
<html:html>
<HEAD>
<%@ page language="java" contentType="text/html; charset=GBK"
	pageEncoding="GBK" import="scsc.web.system.data.DocManageData"%>
<META http-equiv="Content-Type" content="text/html; charset=GBK">
<META name="GENERATOR" content="IBM WebSphere Studio">
<META http-equiv="Content-Style-Type" content="text/css">
<SCRIPT language="JavaScript" src="../../js/public.js"></SCRIPT>
<SCRIPT language="JavaScript" src="../../js/button.js"></SCRIPT>
<SCRIPT language="JavaScript" src="../../js/Calendar.js"></SCRIPT>
<SCRIPT language="JavaScript" src="../../js/formcheck.js"></SCRIPT>
<SCRIPT language="JavaScript">
<!--
function toEdit(){
	with(document.forms[0]){
        operAtt.value="edit";
		submit();
	}
	return true;
}

function toReturn(){
	with(document.forms[0]){
		operAtt.value="select";
		submit();
	}
	return true;
}

//-->
</SCRIPT>
</HEAD>

<BODY>
<html:form action="/oa/workplan/mng">
	<html:hidden property='operAtt' />
	<html:hidden property='conditionData.title' />
	<html:hidden property='conditionData.beginDate' />
	<html:hidden property='conditionData.endDate' />
	<html:hidden property='conditionData.planType' />
	<html:hidden property='conditionData.content' />
	<html:hidden property='data.planId' />
	<html:hidden property='data.assoId' />

	<TABLE class="border">
		<TBODY>
			<TR>
				<TD>
				<P class="workplanTitle"><bean:message key="WorkplanData.detail.title" /></P>

				<html:errors /> <bean:write name="workplanForm" property="message"
					filter="false" />

				<DIV class="tab-pane">
				<DIV class="tab-page">
				<DIV class="tab"><bean:message key="WorkplanData.detail" /></DIV>

				<TABLE border="1" width="100%">
					<TBODY>
						<TR>
							<TH nowrap align="left"><bean:message key="WorkplanData.title" /></TH>
							<TD><bean:write name="workplanForm" property="data.title" /></TD>
						</TR>
						<TR>
							<TH nowrap align="left"><bean:message key="WorkplanData.content" /></TH>
							<TD><bean:write name="workplanForm" property="data.content" /></TD>
						<TR>
							<TH nowrap align="left"><bean:message
								key="WorkplanData.beginDate" /></TH>
							<TD><bean:write name="workplanForm" property="data.beginDate" /></TD>
						</TR>
						<TR>
							<TH nowrap align="left"><bean:message key="WorkplanData.endDate" /></TH>
							<TD><bean:write name="workplanForm" property="data.endDate" /></TD>
						</TR>
						<TR>
							<TH nowrap align="left"><bean:message key="WorkplanData.planType" /></TH>
							<TD><bean:write name="workplanForm" property="data.planTypeName" /></TD>
						</TR>
						<TR>
							<TH nowrap align="left"><bean:message
								key="WorkplanData.sendDeptName" /></TH>
							<TD><bean:write name="workplanForm" property="data.sendDeptName" /></TD>
						</TR>

						<TR>
							<TH nowrap align="left"><bean:message
								key="WorkplanData.principal" /></TH>
							<TD><bean:write name="workplanForm" property="data.principal" /></TD>
						</TR>
						<TR>
							<TH nowrap align="left"><bean:message key="WorkplanData.actors" /></TH>
							<TD><bean:write name="workplanForm" property="data.actors" /></TD>
						</TR>
						<TR>
							<TH nowrap align="left"><bean:message key="WorkplanData.state" /></TH>
							<TD><bean:write name="workplanForm" property="data.stateName" />
							</TD>
						</TR>
						<TR>
							<TH nowrap align="left"><bean:message key="WorkplanData.remark" /></TH>
							<TD><bean:write name="workplanForm" property="data.remark" /></TD>
						</TR>
						<TR>
							<TH nowrap align="left"><bean:message key="WorkplanData.userId" /></TH>
							<TD><bean:write name="workplanForm" property="data.operatorname" />
							</TD>
						</TR>
						<TR>
							<TH nowrap align="left"><bean:message
								key="WorkplanData.latestDate" /></TH>
							<TD><bean:write name="workplanForm" property="data.latestDate" />
							</TD>
						</TR>
						<logic:notEmpty name="workplanForm" property="list">
							<tr>
								<td height="50" colspan="2">
								<TABLE border="0" width="100%">
									<TBODY>
										<tr>
											<td height="29"><bean:message key="DocManageData.fileName" /></td>
										</tr>
										<logic:iterate id="view" indexId="index" name="workplanForm"
											property="list">
											<TR>
												<TD nowrap align="left"><a
													href="javascript:window.open('/system/docmanage/docmanage.do?operAtt=view&data.docSeq=<%=((DocManageData)view).getDocSeq()%>');undefined;"><bean:write
													name="view" property="fileName" /></a></TD>
											</TR>
										</logic:iterate>
										<TR>
											<TD colspan="2" align="center">&nbsp;</TD>
										</TR>
									</TBODY>
								</table>
								</td>
							</tr>
						</logic:notEmpty>

						<TR>
							<TD colspan="2" align="center" nowrap class="Show">&nbsp;</TD>
						</TR>
						<TR>
							<TD colspan="2" align="center" nowrap><html:button
								property="Save" onclick="toEdit()" styleClass="button">
								<bean:message key="dataEdit.edit" />
							</html:button><html:button property="Return" onclick="toReturn()"
								styleClass="button">
								<bean:message key="dataEdit.return" />
							</html:button></TD>
						</TR>
					</TBODY>
				</TABLE>
				</DIV>
				</DIV>

				</TD>
			</TR>
		</TBODY>
	</TABLE>

</html:form>
</BODY>
</html:html>
